package cn.aran.feign;

import cn.aran.utils.AjaxResult;
import cn.aran.vo.ProductVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "store-server",fallbackFactory = StoreFeignClientFallbackFactory.class)
public interface StoreFeignClient {
    @PostMapping("/store/add")
    AjaxResult addStore(@RequestBody ProductVo productvo);
}
